<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
    <title>用户销售订单页面</title>
</head>
<?php
include_once("inc.php");
include_once("base.php");
$row = db_get_row("select * from orders where id='".$_REQUEST['ordersid']."'");
$row1 = db_get_row("select * from ordersta where id='".$_REQUEST['id']."'");
?>
<body>
	<table width="100%" border="0" cellpadding="0" cellspacing="0">
		<tr>
			<td width="17" rowspan="2" valign="top" bgcolor="#FFFFFF"></td>
			<td valign="top">
				<table width="100%" height="31" border="0" cellpadding="0" cellspacing="0">
					<tr bgcolor="#FFFFFF">
						<td height="31">
							<div class="title">订单管理</div>
						</td>
					</tr>
				</table>
			</td>
			<td width="16" rowspan="2" bgcolor="#FFFFFF"></td>
		</tr>
		<tr>
			<td valign="top" bgcolor="#F7F8F9">
				<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
					<tr>
						<td colspan="4" height="10"></td>
					</tr>
					<tr>
						<td width="1%">&nbsp;</td>
						<td width="96%">
							<table width="100%" class="cont">
								<tr>
									<td width="1%"></td>
									<td>
										订单编号:<?php echo $row['onumber'];?>
									</td>
								</tr>
							</table>
						</td>
							<td width="1%">&nbsp;</td>
					</tr>
					<tr>
						<td width="1%">&nbsp;</td>
						<td width="96%">
							<table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" class="cont">
								<tr bgcolor="#cecece">
									<td height="35" colspan="2" align="center">收货人信息</td>
								</tr>
								<tr>
									<td width="120" height="25" align="right">收货人姓名：</td>
									<td width="627"><?php echo $row['nickname'];?></td>
								</tr>
								<tr>
									<td height="25" align="right">详细地址：</td>
									<td height="25"><?php echo $row['address'];?></td>
								</tr>
								<tr>
									<td height="25" align="right">电　　话：</td>
									<td height="25"><?php echo $row['tel'];?></td>
								</tr>
								<tr>
									<td height="25" align="right">送货方式：</td>
									<td height="25"><?php echo $row['shfs'];?></td>
								</tr>
								<tr>
									<td height="25" align="right">支付方式：</td>
									<td height="25"><?php echo $row['zffs'];?></td>
								</tr>
								<?php 
								if($row1['pic']){
									?>
									<tr>
										<td height="25" align="right">配送信息：</td>
										<td height="25">
											<?php echo $row1['kuaidi'];?><?php echo $row1['pic_tel'];?>
										</td>
									</tr>
								<?php }?>
								<tr>
									<td height="25" align="right">简单留言：</td>
									<td height="25"><?php echo $row['content'];?></td>
								</tr>
							</table>
							<table width="100%" cellPadding="6" bgcolor="#cecece" class="table table-bordered">
								<tr>
									<td height="20" align="center">
										<input name="button" type="button" class="btn" onClick="javascript:history.back();" value="返回">
									</td>
								</tr>
							</table>
						</td>
						<td width="1%">&nbsp;</td>
					</tr>
					<tr><td height="20"></td></tr>
				</table>
			</td>
		</tr>
	</table>
</body>
</html>